﻿@{
    var currentOperator = CubicFWNet.Common.OperatorProvider.Provider.GetCurrent();
}
<header class="main-header">
    <!-- Logo -->
    @*<a href="../../index2.html" class="logo">*@
    <a href="@Url.Action("Index", "Home")" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>YJX</b></span>
        <!-- logo for regular state and mobile devices -->

        <span class="logo-lg">@Resources.Global.PageTitle</span>
    </a>
    <!-- Top Navbar -->
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li><a><b>@currentOperator.FamilyName</b></a></li>&nbsp;&nbsp;&nbsp;&nbsp;
                <li><a href="~/Login/OutLogin">退出</a></li>
                <li><a href="~/User/UpdatePwd" >修改密码</a></li>
                <!-- User Account: style can be found in dropdown.less -->
                @*<li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="~/Image/yjxHead.jpg" class="user-image" style="border-radius:3px">
                            <span class="hidden-xs">@currentOperator.FamilyName</span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- User image -->
                            <li class="user-header">
                                <img src="~/Image/yjxHead.jpg" class="img-circle" style="border-radius:15px">
                                <p style="margin:0;padding:0;">
                                    @currentOperator.FamilyName
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <li class="user-body">
                                <!-- /.row -->
                            </li>
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-right">
                                    <a href="~/Login/OutLogin" class="btn btn-default btn-flat">退出</a>
                                </div>
                            </li>
                        </ul>
                    </li>*@
            </ul>
        </div>
    </nav>
</header>